package com.ffms.entity;

import java.util.Date;

/**
 * @author 从卿
 * @create 2022/3/7-23:32
 */
public class Shouru {
    private int id;
    private String from ;
    private String  money;
    private Date date;
    private  String way;
    private int mssid;//外键




    private  FamilyMember familyMember;

    public Shouru(int mssid, String money) {
        this.mssid = mssid;
        this.money = money;
    }



    public Shouru(int id, String from, String money, String way) {
        this.id = id;
        this.from = from;
        this.money = money;
        this.way = way;
    }

    public Shouru(int id, String from, String money, Date date, String way, int mssid) {
        this.id = id;
        this.from = from;
        this.money = money;
        this.date = date;
        this.way = way;
        this.mssid = mssid;
    }
    public Shouru( String from, String money, Date date, String way, int mssid) {

        this.from = from;
        this.money = money;
        this.date = date;
        this.way = way;
        this.mssid = mssid;
    }

    public Shouru(int id, String from, String money, Date date, String way) {
        this.id = id;
        this.from = from;
        this.money = money;
        this.date = date;
        this.way = way;

    }

    public Shouru(int id, String from, String money, Date date, String way,  FamilyMember familyMember) {
        this.id = id;
        this.from = from;
        this.money = money;
        this.date = date;
        this.way = way;
        this.familyMember = familyMember;
    }

    public Shouru(int id) {
        this.id = id;
    }

    public int getMssid() {
        return mssid;
    }

    public void setMssid(int mssid) {
        this.mssid = mssid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getWay() {
        return way;
    }

    public void setWay(String way) {
        this.way = way;
    }

    public FamilyMember getFamilyMember() {
        return familyMember;
    }

    public void setFamilyMember(FamilyMember familyMember) {
        this.familyMember = familyMember;
    }

    @Override
    public String toString() {
        return "Shouru{" +
                "id=" + id +
                ", from='" + from + '\'' +
                ", money='" + money + '\'' +
                ", date=" + date +
                ", way='" + way + '\'' +
                ", familyMember=" + familyMember +
                '}';
    }
}
